<?php
/**
 * Class Vaccine
 */

namespace App\Models;

use App\Models\base\VaccineBase;

/**
 * App\Models\Vaccine
 *
 * @property int $vaccine_id
 * @property int|null $cert_id
 * @property string|null $vaccine_name
 * @property string|null $vaccine_at 疫苗时间
 * @property string|null $manufacturer_name 厂商
 * @property string|null $vaccine_img_process 免疫过程
 * @property string|null $vaccine_img_bottle 免疫瓶
 * @property string|null $created_at
 * @property string|null $updated_at
 * @property string|null $deleted_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereCertId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereManufacturerName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereVaccineAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereVaccineId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereVaccineImgBottle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereVaccineImgProcess($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Vaccine whereVaccineName($value)
 * @mixin \Eloquent
 */
class Vaccine extends VaccineBase
{
    public function cert(){
        return $this->belongsTo(Cert::class,'cert_id');
    }

}
